<?php
include("util/out_fxn.php");
session_start();
$title="View enlarge photo";
do_html_header($title);
if(!check_valid_user()){
	do_session_failed();
}
else{
	$photoFileName=$_GET['photo_name'];	
	if($photoFileName)
	{
		$dataDisplay = "<table><tr><td><img src={$photoFileName} width=250 height=250/></td></tr></table>";
	}
	else {
		$dataDisplay = "<table><tr><td><h3>Error displaying photo</h3></td></tr></table>";
	}
	do_main_page($title,$dataDisplay);
}
do_html_footer();
?>
